<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>好好干饭</title>
    <link rel="stylesheet" href="../top_bar/bar.css">
</head>

<body>
    <div class="box">
        <div class="top_title">
            <div class="logo_bar">
                <div class="logo_img"></div>
                <div class="search">
                    <select class="search_type">
                        <option value="caipu">菜谱</option>
                        <option value="wenda">问答</option>
                    </select>
                    <input class="search_input" placeholder="搜索菜谱/食材/问答" type="text">
                    <div class="search_btn" onclick="func()">搜索</div>
                </div>
                <div class="user"><a target="_blank" href="pages/login.html">登录</a>|<a target="_blank"
                        href="pages/sign.html">注册</a></div>
            </div>
            <div class="top_bar">
                <ul class="title_bar">
                    <li><a target="_blank" href="#">首页</a></li>
                    <li><a target="_blank" href="#">分类</a></li>
                    <li><a target="_blank" href="#">精选</a></li>
                    <li><a target="_blank" href="#">小吃</a></li>
                    <li><a target="_blank" href="#">美食圈</a></li>
                    <li><a target="_blank" href="#">TOP100</a></li>
                </ul>
            </div>

        </div>
        <div class="centre">
            <div class="title">
                <h2 class="title_center">今天吃什么?</h2>
            </div>
            <div class="bottom"></div>

        </div>
        <a href="#top">
            <div class="up">UP</div>
        </a>
    </div>
    <script type="text/javascript">
        function func() {
            alert("还想搜索？你想啥呢！")
        }
    </script>
</body>

</html>